package com.sxt.system.mapper;

import com.sxt.system.domain.User;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 俊哥
 * @since 2019-11-08
 */
public interface UserMapper extends BaseMapper<User> {

	/**
	 * 	最大的排序码
	 * @return
	 */
	Integer queryUserMaxOrderNum();

	void saveUserRole(@Param("uid")Integer userId, @Param("rid")Integer rid);

}
